package
{
	import com.imcrl.manager.RenderManager;
	
	import flash.display.Sprite;
	import flash.display.StageAlign;
	import flash.display.StageScaleMode;
	
	import starling.core.Starling;
	
	[SWF(frameRate='30', width="1000", height="600", backgroundColor='0x000000')]
	public class StarlingUI extends Sprite
	{
		public function StarlingUI()
		{
			stage.align=StageAlign.TOP_LEFT;
			stage.scaleMode=StageScaleMode.NO_SCALE;
			RenderManager.instance.stage=stage;
			var app:Starling=new Starling(Application,stage);
			app.showStats=true;
			app.start();
		}
	}
}